package com.app.service;

import com.app.model.UserModel;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.security.auth.login.LoginException;
import java.util.List;

public interface UserService extends IService<UserModel> {
    UserModel wxLogin(String code, String mobileCode) throws LoginException;

    UserModel getUserByMobile(String mobile1);

    int update(UserModel user);//修改

    UserModel save(String faceUrl, String userName, String mobile);

    String getFaceUrl(int userId);

    int getCount();

    UserModel selectOpenid(String code);

    List<UserModel> whiteList();
}
